﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010A7 RID: 4263
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SavePointsInfoNotify : IMessage<SavePointsInfoNotify>, IMessage, IEquatable<SavePointsInfoNotify>, IDeepCloneable<SavePointsInfoNotify>, IBufferMessage
	{
		// Token: 0x170035C7 RID: 13767
		// (get) Token: 0x0600BE61 RID: 48737 RVA: 0x002014E4 File Offset: 0x001FF6E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SavePointsInfoNotify> Parser
		{
			get
			{
				return SavePointsInfoNotify._parser;
			}
		}

		// Token: 0x170035C8 RID: 13768
		// (get) Token: 0x0600BE62 RID: 48738 RVA: 0x002014EB File Offset: 0x001FF6EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SavePointsInfoNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170035C9 RID: 13769
		// (get) Token: 0x0600BE63 RID: 48739 RVA: 0x002014FD File Offset: 0x001FF6FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SavePointsInfoNotify.Descriptor;
			}
		}

		// Token: 0x0600BE64 RID: 48740 RVA: 0x00201504 File Offset: 0x001FF704
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SavePointsInfoNotify()
		{
		}

		// Token: 0x0600BE65 RID: 48741 RVA: 0x0020150C File Offset: 0x001FF70C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SavePointsInfoNotify(SavePointsInfoNotify other) : this()
		{
			this.refreshTime_ = other.refreshTime_;
			this.validTimes_ = other.validTimes_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BE66 RID: 48742 RVA: 0x0020153D File Offset: 0x001FF73D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SavePointsInfoNotify Clone()
		{
			return new SavePointsInfoNotify(this);
		}

		// Token: 0x170035CA RID: 13770
		// (get) Token: 0x0600BE67 RID: 48743 RVA: 0x00201545 File Offset: 0x001FF745
		// (set) Token: 0x0600BE68 RID: 48744 RVA: 0x0020154D File Offset: 0x001FF74D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long RefreshTime
		{
			get
			{
				return this.refreshTime_;
			}
			set
			{
				this.refreshTime_ = value;
			}
		}

		// Token: 0x170035CB RID: 13771
		// (get) Token: 0x0600BE69 RID: 48745 RVA: 0x00201556 File Offset: 0x001FF756
		// (set) Token: 0x0600BE6A RID: 48746 RVA: 0x0020155E File Offset: 0x001FF75E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ValidTimes
		{
			get
			{
				return this.validTimes_;
			}
			set
			{
				this.validTimes_ = value;
			}
		}

		// Token: 0x0600BE6B RID: 48747 RVA: 0x00201567 File Offset: 0x001FF767
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SavePointsInfoNotify);
		}

		// Token: 0x0600BE6C RID: 48748 RVA: 0x00201575 File Offset: 0x001FF775
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SavePointsInfoNotify other)
		{
			return other != null && (other == this || (this.RefreshTime == other.RefreshTime && this.ValidTimes == other.ValidTimes && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BE6D RID: 48749 RVA: 0x002015B4 File Offset: 0x001FF7B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.RefreshTime != 0L)
			{
				num ^= this.RefreshTime.GetHashCode();
			}
			if (this.ValidTimes != 0U)
			{
				num ^= this.ValidTimes.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BE6E RID: 48750 RVA: 0x0020160C File Offset: 0x001FF80C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BE6F RID: 48751 RVA: 0x00201614 File Offset: 0x001FF814
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BE70 RID: 48752 RVA: 0x00201620 File Offset: 0x001FF820
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ValidTimes != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ValidTimes);
			}
			if (this.RefreshTime != 0L)
			{
				output.WriteRawTag(64);
				output.WriteInt64(this.RefreshTime);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BE71 RID: 48753 RVA: 0x0020167C File Offset: 0x001FF87C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.RefreshTime != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.RefreshTime);
			}
			if (this.ValidTimes != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ValidTimes);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BE72 RID: 48754 RVA: 0x002016D4 File Offset: 0x001FF8D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SavePointsInfoNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.RefreshTime != 0L)
			{
				this.RefreshTime = other.RefreshTime;
			}
			if (other.ValidTimes != 0U)
			{
				this.ValidTimes = other.ValidTimes;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BE73 RID: 48755 RVA: 0x00201724 File Offset: 0x001FF924
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BE74 RID: 48756 RVA: 0x00201730 File Offset: 0x001FF930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.RefreshTime = input.ReadInt64();
					}
				}
				else
				{
					this.ValidTimes = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004C96 RID: 19606
		private static readonly MessageParser<SavePointsInfoNotify> _parser = new MessageParser<SavePointsInfoNotify>(() => new SavePointsInfoNotify());

		// Token: 0x04004C97 RID: 19607
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004C98 RID: 19608
		public const int RefreshTimeFieldNumber = 8;

		// Token: 0x04004C99 RID: 19609
		private long refreshTime_;

		// Token: 0x04004C9A RID: 19610
		public const int ValidTimesFieldNumber = 7;

		// Token: 0x04004C9B RID: 19611
		private uint validTimes_;
	}
}
